package com.kly.cashmall.services;


/**
 * @author
 * @since 2018/3/31 10:46
 */
public class AppGlobalConfig {

    private static AppGlobalConfig appGlobalConfig;

    private String baseUrl;

    public String getBaseUrl() {
        return baseUrl;
    }

    public void setBaseUrl(String baseUrl) {
        this.baseUrl = baseUrl;
    }

    public static AppGlobalConfig getInstance() {
        if (appGlobalConfig == null) {
            synchronized (AppGlobalConfig.class) {
                if (appGlobalConfig == null) {
                    appGlobalConfig = new AppGlobalConfig();
                }
            }
        }
        return appGlobalConfig;
    }
}
